package pojo;

/**
 * Nickname entity. @author MyEclipse Persistence Tools
 */

public class Nickname implements java.io.Serializable {

	// Fields

	private String nickName;
	private User user;

	// Constructors

	/** default constructor */
	public Nickname() {
	}

	/** full constructor */
	public Nickname(String nickName, User user) {
		this.nickName = nickName;
		this.user = user;
	}

	// Property accessors

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}